package com.bulls.demo.hrmsdemo.service;

import com.bulls.demo.hrmsdemo.constants.EntityManagerFactory;
import com.bulls.demo.hrmsdemo.ib.EmployeeLogic;
import com.bulls.demo.hrmsdemo.vo.EmployeeVO;

public class EmployeeService {
	

		public EmployeeVO save(EmployeeVO employeeVO){
			employeeVO = EmployeeLogic.save(employeeVO,EntityManagerFactory.getEntityManager());
			return employeeVO;
		}
		
		public EmployeeVO search(Long long1){
			EmployeeVO employeeVO = EmployeeLogic.search(long1, EntityManagerFactory.getEntityManager());
			return employeeVO;
		}
		
		public boolean delete(String employeeID){
			boolean boo = EmployeeLogic.delete(employeeID, EntityManagerFactory.getEntityManager());
			return boo;
		}


}
